package com.example.orderassembly.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.entity.AfterSale;
import com.woniuxy.form.GetAfterSaleByPlatform;
import com.woniuxy.form.InsertAfterSale;

/**
 * <p>
 * 售后表 服务类
 * </p>
 *
 * @author yang
 * @since 2021-09-21
 */
public interface IAfterSaleService extends IService<AfterSale> {

    Boolean updateAfterSaleById(Integer afterSaleId,Integer status);

    IPage getAfterSaleByUserId(Integer userId,Integer indexPage,Integer pageSize);

    IPage getAfterSaleByPlatform(GetAfterSaleByPlatform getAfterSaleByPlatform);

    Boolean insertAfterSale(InsertAfterSale insertAfterSale);

    IPage getAfterSaleByStore(GetAfterSaleByPlatform getAfterSaleByPlatform);

    AfterSale getAfterSaleById(Integer afterSaleId);
}
